﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodDotNet.Core.Model.Params
{
    public class LoginParams
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "用户名不能为空")]
        public string name { get; set; }
        /// <summary>
        /// 密码 加密后的
        /// </summary>
        [Required(ErrorMessage = "密码不能为空")]
        public string pwd { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        [Required(ErrorMessage = "验证码不能为空")]
        public string yzcode { get; set; }
    }
}
